package main

import (
	"gitee.com/liuqiuming/gps"
)

var strKml = `<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
	<name>kml</name>
	<Style id="sh_ylw-pushpin">
		<IconStyle>
			<scale>1.3</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ff0000ff</color>
		</LineStyle>
		<PolyStyle>
			<color>990000ff</color>
		</PolyStyle>
	</Style>
	<Style id="sn_grn-blank0">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<color>ff00ff00</color>
			<scale>0.8</scale>
		</LabelStyle>
	</Style>
	<Style id="sn_ylw-pushpin">
		<IconStyle>
			<scale>1.1</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ffff0000</color>
		</LineStyle>
		<PolyStyle>
			<color>99ff0000</color>
		</PolyStyle>
	</Style>
	<Style id="sh_ylw-pushpin0">
		<IconStyle>
			<scale>1.3</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ffff0000</color>
		</LineStyle>
		<PolyStyle>
			<color>99ff0000</color>
		</PolyStyle>
	</Style>
	<Style id="sn_ylw-pushpin0">
		<IconStyle>
			<scale>1.1</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ff000000</color>
		</LineStyle>
		<PolyStyle>
			<color>cc000000</color>
		</PolyStyle>
	</Style>
	<StyleMap id="msn_ylw-pushpin">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_ylw-pushpin0</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_ylw-pushpin2</styleUrl>
		</Pair>
	</StyleMap>
	<Style id="sn_grn-blank1">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<color>ffffaa00</color>
			<scale>0.8</scale>
		</LabelStyle>
	</Style>
	<Style id="sh_grn-blank1">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<color>ff0000ff</color>
			<scale>0.8</scale>
		</LabelStyle>
	</Style>
	<Style id="sn_grn-blank">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<scale>0.8</scale>
		</LabelStyle>
		<BalloonStyle>
		</BalloonStyle>
		<ListStyle>
		</ListStyle>
	</Style>
	<Style id="sh_ylw-pushpin1">
		<IconStyle>
			<scale>1.3</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ff00ff00</color>
		</LineStyle>
		<PolyStyle>
			<color>9900ff00</color>
		</PolyStyle>
	</Style>
	<Style id="sn_ylw-pushpin1">
		<IconStyle>
			<scale>1.1</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ff00ff00</color>
		</LineStyle>
		<PolyStyle>
			<color>9900ff00</color>
		</PolyStyle>
	</Style>
	<Style id="sh_grn-blank">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<color>ffffaa00</color>
			<scale>0.8</scale>
		</LabelStyle>
	</Style>
	<Style id="sn_ylw-pushpin2">
		<IconStyle>
			<scale>1.1</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ff0000ff</color>
		</LineStyle>
		<PolyStyle>
			<color>990000ff</color>
		</PolyStyle>
	</Style>
	<Style id="sh_ylw-pushpin2">
		<IconStyle>
			<scale>1.3</scale>
			<Icon>
				<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
			</Icon>
			<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
		</IconStyle>
		<BalloonStyle>
		</BalloonStyle>
		<LineStyle>
			<color>ff000000</color>
		</LineStyle>
		<PolyStyle>
			<color>cc000000</color>
		</PolyStyle>
	</Style>
	<Style id="sh_grn-blank0">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<scale>0.8</scale>
		</LabelStyle>
		<BalloonStyle>
		</BalloonStyle>
		<ListStyle>
		</ListStyle>
	</Style>
	<Style id="sn_grn-blank2">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<color>ff0000ff</color>
			<scale>0.8</scale>
		</LabelStyle>
	</Style>
	<StyleMap id="msn_grn-blank1">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_grn-blank0</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_grn-blank00</styleUrl>
		</Pair>
	</StyleMap>
	<StyleMap id="msn_ylw-pushpin0">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_ylw-pushpin1</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_ylw-pushpin1</styleUrl>
		</Pair>
	</StyleMap>
	<Style id="sh_grn-blank00">
		<IconStyle>
			<Icon>
			</Icon>
		</IconStyle>
		<LabelStyle>
			<color>ff00ff00</color>
			<scale>0.8</scale>
		</LabelStyle>
	</Style>
	<StyleMap id="msn_grn-blank">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_grn-blank</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_grn-blank0</styleUrl>
		</Pair>
	</StyleMap>
	<StyleMap id="msn_ylw-pushpin1">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_ylw-pushpin2</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_ylw-pushpin</styleUrl>
		</Pair>
	</StyleMap>
	<StyleMap id="msn_grn-blank0">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_grn-blank2</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_grn-blank1</styleUrl>
		</Pair>
	</StyleMap>
	<StyleMap id="msn_ylw-pushpin2">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_ylw-pushpin</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_ylw-pushpin0</styleUrl>
		</Pair>
	</StyleMap>
	<StyleMap id="msn_grn-blank00">
		<Pair>
			<key>normal</key>
			<styleUrl>#sn_grn-blank1</styleUrl>
		</Pair>
		<Pair>
			<key>highlight</key>
			<styleUrl>#sh_grn-blank</styleUrl>
		</Pair>
	</StyleMap>
	<Folder>
		<name>kml</name>
		<open>1</open>

	</Folder>
</Document>
</kml>
`
var border = []gps.Point{
	{Lon: 112.849973922982, Lat: 25.08295635612951},
	{Lon: 112.785575071412, Lat: 24.61368954280435},
	{Lon: 112.9274851120174, Lat: 24.42762717026891},
	{Lon: 113.3751967335119, Lat: 24.32890078831029},
	{Lon: 113.6817241742408, Lat: 23.85103483469919},
	{Lon: 114.557986161124, Lat: 23.84669250162985},
	{Lon: 114.8354210447673, Lat: 25.42209690167075},
	{Lon: 112.8145858538368, Lat: 25.56900829560725},
}
